<?php /* Smarty version Smarty-3.1.8, created on 2012-06-14 06:45:33
         compiled from "../includes/interface/templates\animalAfficher.tpl" */ ?>
<?php /*%%SmartyHeaderCode:321504fd9888def3706-59745741%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6730d66cb242e934dd310a8ff33c6046758796d6' => 
    array (
      0 => '../includes/interface/templates\\animalAfficher.tpl',
      1 => 1339656128,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '321504fd9888def3706-59745741',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'animal' => 0,
    'listeRacesToAnimal' => 0,
    'historique' => 0,
    'typeCauseHistorique' => 0,
    'deplacements' => 0,
    'batiments' => 0,
    'remarques' => 0,
    'medias' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd9888e808679_93381561',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd9888e808679_93381561')) {function content_4fd9888e808679_93381561($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\wamp\\www\\trunk\\includes\\interface\\smarty\\libs\\plugins\\modifier.date_format.php';
?><!-- TEMPLATE ANIMAL AFFICHER -->

<section id="content">
    
    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->
    
    <h1 class="article"><?php echo $_smarty_tpl->getConfigVariable('ANIMAL');?>
</h1>

    <div class="liste_deroulante article">
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('INFORMATIONS_GENERAL');?>
</p>
        <table class="contenu_liste">
            <tr>
                <td class="description"><?php echo $_smarty_tpl->getConfigVariable('ID');?>
</td>
                <td class="valeur"><?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
</td>
                <?php if ($_smarty_tpl->tpl_vars['animal']->value->getPhotoProfil()){?>
                <td class="photo" rowspan="8"><img src="uploads/<?php echo $_smarty_tpl->tpl_vars['animal']->value->getPhotoProfil();?>
" alt="Photo de l'animal" /></td>
                <?php }?>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('NOM_SPA');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getNom();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('TYPE_ANIMAL');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getTypeDeRace_nom();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('RACE');?>
</td>
                <td>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['name'] = "uneRaceToAnimal";
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['listeRacesToAnimal']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRaceToAnimal"]['total']);
?>
                        <?php echo $_smarty_tpl->tpl_vars['listeRacesToAnimal']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRaceToAnimal']['index']]->getRace_nom();?>

                    <?php endfor; endif; ?>
                </td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('SEXE');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getSexe();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('COULEUR');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getCouleur();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('DATE_NAISSANCE');?>
</td>
                <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['animal']->value->getDateNaissance(),'%d/%m/%Y');?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('DATE_DECES');?>
</td>
                <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['animal']->value->getDateDeces(),'%d/%m/%Y');?>
</td>
            </tr>
        </table>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('INFORMATIONS_SUPPL');?>
</p>
        <table class="contenu_liste">
            <tr>
                <td class="description"><?php echo $_smarty_tpl->getConfigVariable('DEUXIEME_NOM');?>
</td>
                <td class="valeur"><?php echo $_smarty_tpl->tpl_vars['animal']->value->getSecondNom();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('LONGUEUR_POIL');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getLongueurPoil();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('NO_PUCE');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getPuceNo();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('IMPLANTATION');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getImplantation();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('TATOUAGE');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getTatouage();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('MEDAILLE');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getMedaille();?>
</td>
            </tr>
            <tr>
                <td><?php echo $_smarty_tpl->getConfigVariable('PARTICULARITES');?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['animal']->value->getRemarque();?>
</td>
            </tr>
        </table>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('HISTORIQUE');?>
</p>
        <div class="contenu_liste">
            <form id="formID" name="formulaire" action="?action=ajouterHistorique" method="post" >
                <table>
                    <tr>
                        <th><?php echo $_smarty_tpl->getConfigVariable('DATE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('CAUSE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('PERSONNE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('NPA');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('COMMENTAIRE');?>
</th>
                    </tr>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['name'] = "unHistorique";
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['historique']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["unHistorique"]['total']);
?>
                    <tr>
                        <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getDateHeure(),'%d/%m/%Y<br />%H:%M');?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getCause_nom();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getPersonne_id();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getLocalite_npa();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getCommentaire();?>
</td>
                        <td><a href="?action=supprimerHistorique&dateHistorique=<?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getDateHeure();?>
&idAnimal=<?php echo $_smarty_tpl->tpl_vars['historique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unHistorique']['index']]->getAnimal_id();?>
">x</a></td>
                    </tr>
                    <?php endfor; endif; ?>
                    <tr>
                        <td>
                            <input type="hidden" name="animalId" value="<?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
" />
                            <input type="text" name="dateHistorique" onClick="ds_sh(this);" class="validate[optional,custom[date]] text-input"/>
                        </td>
                        <td>
                            <select name="typeHistorique" onchange="showCausesHistorique(this.value)" >
                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['name'] = "unTypeCauseHistorique";
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['typeCauseHistorique']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["unTypeCauseHistorique"]['total']);
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['typeCauseHistorique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unTypeCauseHistorique']['index']]->getNom();?>
"><?php echo $_smarty_tpl->tpl_vars['typeCauseHistorique']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unTypeCauseHistorique']['index']]->getNom();?>
</option>
                            <?php endfor; endif; ?>
                            </select>
                            <br />
                            <select name="causeHistorique" id="causesHint">
                                <option value="">---</option>
                            </select>
                        </td>
                        <td><input type="text" name="personneHistorique" /></td>
                        <td><input type="text" name="npaHistorique" /></td>
                        <td><input type="text" name="commentaireHistorique" /></td>
                        <td><input type="submit" class="submit" name="ajouterhistorique" value="<?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
" /></td>
                    </tr>
                </table>
            </form>
        </div>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('DEPLACEMENT');?>
</p>
        <div class="contenu_liste">
            <form id="formID" name="formulaire" action="?action=ajouterDeplacement" method="post" >
                <table>
                    <tr>
                        <th><?php echo $_smarty_tpl->getConfigVariable('ID');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('DATE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('BATIMENT_NOM');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('LOGE_NOM');?>
</th>
                    </tr>
                    <?php if (count($_smarty_tpl->tpl_vars['deplacements']->value)>0){?>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['name'] = "unDeplacement";
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['deplacements']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["unDeplacement"]['total']);
?>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getId();?>
</td>
                        <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getDateHeure(),'%d/%m/%Y %H:%M');?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getBatiment_nom();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getLoge_nom();?>
</td>
                        <td><a href="?action=supprimerDeplacement&idDeplacement=<?php echo $_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getId();?>
&idAnimal=<?php echo $_smarty_tpl->tpl_vars['deplacements']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unDeplacement']['index']]->getAnimal_id();?>
">x</a></td>
                    </tr>
                    <?php endfor; endif; ?>
                    <?php }?>
                    <tr>
                        <td><input type="hidden" name="animalId" value="<?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
" /></td>
                        <td>
                            <input type="text" name="dateDeplacement" onClick="ds_sh(this);" class="validate[optional,custom[date]] text-input"/>
                        </td>
                        <td>
                            <select name="batimentDeplacement" onchange="showLoges(this.value)" >
                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['name'] = "unBatiment";
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['batiments']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["unBatiment"]['total']);
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['batiments']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unBatiment']['index']]->getNom();?>
"><?php echo $_smarty_tpl->tpl_vars['batiments']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unBatiment']['index']]->getNom();?>
</option>
                            <?php endfor; endif; ?>
                            </select>
                        </td>
                        <td>
                            <select name="logeDeplacement" id="logesHint" >
                                <option value="">---</option>
                            </select>
                        </td>
                        <td><input type="submit" class="submit" name="ajouterDeplacement" value="<?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
" /></td>
                    </tr>
                </table>
            </form>
        </div>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('REMARQUE');?>
</p>
        <div class="contenu_liste">
            <form id="formID" name="formulaire" action="?action=ajouterRemarque" method="post" >
                <table>
                    <tr>
                        <th><?php echo $_smarty_tpl->getConfigVariable('ID');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('DATE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('TYPE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('PERSONNE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('REMARQUE');?>
</th>
                    </tr>
                    <?php if (count($_smarty_tpl->tpl_vars['remarques']->value)>0){?>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['name'] = "uneRemarque";
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['remarques']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["uneRemarque"]['total']);
?>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getId();?>
</td>
                        <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getDateHeure(),'%d/%m/%Y %H:%M');?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getType();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getPersonne_id();?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getRemarque();?>
</td>
                        <td><a href="?action=supprimerRemarque&idRemarque=<?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getId();?>
&idAnimal=<?php echo $_smarty_tpl->tpl_vars['remarques']->value[$_smarty_tpl->getVariable('smarty')->value['section']['uneRemarque']['index']]->getAnimal_id();?>
">x</a></td>
                    </tr>
                    <?php endfor; endif; ?>
                    <?php }?>
                    <tr>
                        <td><input type="hidden" name="animalId" value="<?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
" /></td>
                        <td><input type="text" name="dateRemarque" onClick="ds_sh(this);" class="validate[optional,custom[date]] text-input"/></td>
                        <td><input type="text" name="typeRemarque" /></td>
                        <td><input type="text" name="personneRemarque" /></td>
                        <td><input type="text" name="remarqueRemarque" /></td>
                        <td><input type="submit" class="submit" name="ajouterRemarque" value="<?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
" /></td>
                    </tr>
                </table>
                
            </form>
        </div>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('MEDIA');?>
</p>
        <div class="contenu_liste">
            <form id="formID" name="formulaire" action="?action=ajouterMedia" method="post" enctype="multipart/form-data" >
                <table>
                    <tr>
                        <th><?php echo $_smarty_tpl->getConfigVariable('DATE');?>
</th>
                        <th><?php echo $_smarty_tpl->getConfigVariable('FICHIER');?>
</th>
                    </tr>
                    <?php if (count($_smarty_tpl->tpl_vars['medias']->value)>0){?>
                    <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['name'] = "unMedia";
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['medias']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["unMedia"]['total']);
?>
                    <tr>
                        <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['medias']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unMedia']['index']]->getDate(),'%d/%m/%Y');?>
</td>
                        <td><a href="uploads/<?php echo $_smarty_tpl->tpl_vars['medias']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unMedia']['index']]->getUrl();?>
"><?php echo $_smarty_tpl->tpl_vars['medias']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unMedia']['index']]->getUrl();?>
</a></td>
                        <td><a href="?action=supprimerMedia&url=<?php echo $_smarty_tpl->tpl_vars['medias']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unMedia']['index']]->getUrl();?>
&idAnimal=<?php echo $_smarty_tpl->tpl_vars['medias']->value[$_smarty_tpl->getVariable('smarty')->value['section']['unMedia']['index']]->getAnimal_id();?>
">x</a></td>
                    </tr>
                    <?php endfor; endif; ?>
                    <?php }?>
                    <tr>
                        <td><input type="hidden" name="animalId" value="<?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
" /></td>
                        <td><input type="file" name="photoProfil" accept="image/*;capture=camera" /></td>
                        <td><input type="submit" class="submit" name="ajouterMedia" value="<?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
" /></td>
                    </tr>
                </table>
                
            </form>
        </div>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('CONTRATS');?>
</p>
        <div class="contenu_liste">
                Infos
        </div>
        <p class="entete_liste"><?php echo $_smarty_tpl->getConfigVariable('PLAINTES_ET_RAPPORTS');?>
</p>
        <div class="contenu_liste">
                Infos
        </div>
        
    </div>
    
        
    <p class="actions">   
        <a class="actions" href="?action=afficherModifierAnimal&id=<?php echo $_smarty_tpl->tpl_vars['animal']->value->getId();?>
"><?php echo $_smarty_tpl->getConfigVariable('MODIFIER');?>
</a>
        <a class="actions" href="?action=afficherRechercherAnimal"><?php echo $_smarty_tpl->getConfigVariable('RETOUR');?>
</a>
    </p>    
    
 

</section>
    
<?php }} ?>